package com.tan.steamship.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tan.steamship.domain.ShipsPo;
import com.tan.steamship.dto.ShipsDto;
import com.tan.steamship.vo.ShipsVo;

import java.util.List;

/**
* @author 85726
* @description 针对表【ships(游轮信息表)】的数据库操作Service
* @createDate 2025-01-20 14:51:14
*/
public interface ShipsService extends IService<ShipsPo> {

    Page<ShipsPo> listShips(String shipName,int page, int size);

    void saveOrUpdate(ShipsDto shipsDto);

    ShipsVo detail(String id);

    List<String> listShipName();

}
